Package-level declarations
Types
Link copied to clipboard
There are three different tag sizes — small, medium, and large. Use small tags in condensed or inline spaces. The medium tag size is the default size and is most commonly used. Use large tags when they are used as a primary task of the page or focal point, when you have more screen real estate at your disposal, or if the tag lives near other components that are also 32px in height.
Functions
Link copied to clipboard
fun ReadOnlyTag(text: String, modifier: Modifier = Modifier, icon: @Composable () -> Painter? = null, type: TagType = TagType.Gray, size: TagSize = TagSize.Medium)
Tags are components that are often used to label different items, create categorization, filter data, select or deselect options, and include functionality to disclose several related tags in another view.